package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.logic.bussiness.DaoHelper;
import com.yanqu.road.entity.player.UserChildSite;

import java.util.Map;

public class UserChildBussiness {

    public static Map<Integer, UserChildSite> getUserChildSiteMap(long userId) {
        return DaoHelper.getUserChildDaoImpl().getUserChildSiteMap(userId);
    }

    public static boolean addUserChildSite(UserChildSite userChildSite) {
        return DaoHelper.getUserChildDaoImpl().add(userChildSite);
    }

    public static boolean updateUserChildSite(UserChildSite userChildSite) {
        return DaoHelper.getUserChildDaoImpl().update(userChildSite);
    }
}
